import java.util.*;


public abstract class Who {
	String question;
	int num;
	ArrayList<String> words;
	String keyWords = "";
	String tagged;
	StringBuilder[] data;
	StringBuilder[] unstemmed;
	String[] title; 
	ArrayList<String> candidatePhrases = new ArrayList<String>();
	ArrayList<String> candidateAnswers = new ArrayList<String>();
	
	public Who() {
		
	}
	
	public Who(String question) {
		this.question = question;
		words = StopWordRemover.remove(question);
		Iterator<String> iter = words.iterator();
		while (iter.hasNext()) {
			keyWords = keyWords + iter.next() + " ";
		}
	}
	
	public String toString() {
		return num + ". " + question + " " + keyWords;
	}

}
